package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @Author mr.Candy
 * @Date 2025/5/2220:27
 */
@Component("contractJob")
@Slf4j
public class ContractJob {
    @Autowired
    private IContractService contractService;

    public void updateContractStatusJob(){
        contractService.updateContractStatus();
        log.info("【定时任务】：定时更新合同状态完毕");
    }
}
